import DefaultTheme from 'vitepress/theme'; //默认样式

// 主题样式
import 'vitepress-theme-demoblock/theme/styles/index.css';

// 插件的组件，主要是demo组件
import Demo from 'vitepress-theme-demoblock/components/Demo.vue';
import DemoBlock from 'vitepress-theme-demoblock/components/DemoBlock.vue';
import RadarMap from '../../../src/RadarMap/Index.vue';
export default {
  ...DefaultTheme,
  //扩展应用程序实例
  enhanceApp({ app }) {
    // 注册DemoBlock所需组件
    app.component('Demo', Demo);
    app.component('DemoBlock', DemoBlock);
    app.component('RadarMap', RadarMap);
  },
};
